]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agodialog: Add a ListSection and ListSectionItem
Jonas Dreßler [Fri, 17 Jan 2020 13:05:49 +0000 (14:05 +0100)]
dialog: Add a ListSection and ListSectionItem

According to the mockups, add a generic ListSection and ListSectionItem
for dialogs. To add items (like a ListSectionItem) to a section,
ListSection exposes a public ListSection.list actor.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agodialog: Split out _setLabel function
Jonas Dreßler [Sun, 19 Jan 2020 22:20:02 +0000 (23:20 +0100)]
dialog: Split out _setLabel function

This will be useful when adding more generic containers like
MessageDialogContent.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agoendSessionDialog: Don't allow focusing inhibitor items
Jonas Dreßler [Fri, 18 Oct 2019 21:19:05 +0000 (23:19 +0200)]
endSessionDialog: Don't allow focusing inhibitor items

Those items are not interactive, so it doesn't make sense to be able to
set key-focus to them, disallow that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agoendSessionDialog: Fix a signal-name typo
Jonas Dreßler [Thu, 5 Dec 2019 12:06:35 +0000 (13:06 +0100)]
endSessionDialog: Fix a signal-name typo

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agoendSessionDialog: Rename "warning" css class to "battery-warning"
Jonas Dreßler [Thu, 5 Dec 2019 12:04:38 +0000 (13:04 +0100)]
endSessionDialog: Rename "warning" css class to "battery-warning"

Since this css class is specifically about the low-battery warning, make
the class name a bit more specific, too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agoendSessionDialog: Fix a typo
Jonas Dreßler [Wed, 4 Dec 2019 20:56:13 +0000 (21:56 +0100)]
endSessionDialog: Fix a typo

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935

6 years agolightbox: Change vignette brightness to 0.5
Jonas Dreßler [Sun, 19 Jan 2020 17:01:57 +0000 (18:01 +0100)]
lightbox: Change vignette brightness to 0.5

Since the overview search results now have a dark background layer, we
can brighten the background image a bit again. As a factor we use 0.5,
since that ensures the texts in the IconGrid are still readable and the
background image is visible, too.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2133

6 years agoUpdate Croatian translation
Goran Vidović [Sun, 19 Jan 2020 00:45:45 +0000 (00:45 +0000)]
Update Croatian translation

6 years agoRemove two line breaks to make comments for translators get displayed
Andre Klapper [Sat, 18 Jan 2020 13:04:16 +0000 (14:04 +0100)]
Remove two line breaks to make comments for translators get displayed

A comment for translators must *immediately* precede a message:
https://wiki.gnome.org/TranslationProject/DevGuidelines/Use%20comments
These two comments were previously not displayed in any po files.

6 years agoaltTab: Allow pressing uppercase keys to close apps and windows
Jonas Dreßler [Mon, 21 May 2018 08:32:52 +0000 (10:32 +0200)]
altTab: Allow pressing uppercase keys to close apps and windows

Right now only pressing "w" and "q" will close a window or an app, don't
confuse people who have caps-lock enabled or are holding down shift.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/168

6 years agoaltTab: Don't return from _init() if there are no windows/apps
Jonas Dreßler [Sun, 6 May 2018 15:17:33 +0000 (17:17 +0200)]
altTab: Don't return from _init() if there are no windows/apps

If a new SwitcherPopup is created and there are no windows or apps to
switch through found, instead of returning from _init(), still
initialize the SwitcherPopup and let the check in SwitcherPopup.show()
return false to terminate the popup.

In both cases, with or without the return statements,
WindowManager._startSwitcher() will call SwicherPopup.destroy(), which
will try to disconnect signal handlers, destroy actors etc. Now if the
constructor can't finish creating the popup, some of the functions
called from _onDestroy() will fail and throw errors.

One of those cases is when window-switcher is limited to the current
workspace, and a WindowCyclerPopup is initiated on an empty workspace.
Because this._highlight hasn't been created, _onDestroy() will fail when
trying to destroy the actor of this._highlight.

Also, the actor of this._switcherList will not get destroyed in case
show() returns because this._items is empty. For example, this will
happen when a new AppSwitcherPopup is initialized with at least 1
running app, but 0 windows on the active workspace.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/168

6 years agoaltTab: Rename List* classes to Switcher*
Jonas Dreßler [Sat, 5 May 2018 13:32:16 +0000 (15:32 +0200)]
altTab: Rename List* classes to Switcher*

Calling those classes ThumbnailSwitcher and WindowSwitcher makes more
sense since we are using this naming scheme for all classes extending
SwitcherPopup.SwitcherList.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/168

6 years agoUpdate Slovak translation
Dušan Kazik [Fri, 17 Jan 2020 13:55:15 +0000 (13:55 +0000)]
Update Slovak translation

6 years agotheme: Don't apply the search entry style to the login entry
nana-4 [Fri, 17 Jan 2020 12:07:17 +0000 (21:07 +0900)]
theme: Don't apply the search entry style to the login entry

The password entry is not a search entry.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Don't recolor buttons and entries in dialogs and notifications
nana-4 [Fri, 17 Jan 2020 11:41:10 +0000 (20:41 +0900)]
theme: Don't recolor buttons and entries in dialogs and notifications

We should have a consistent dialog style in the whole system.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

6 years agotheme: Normalize entry focus style
nana-4 [Fri, 17 Jan 2020 11:17:59 +0000 (20:17 +0900)]
theme: Normalize entry focus style

This fixes the focus style of the regular entry to match with the GTK
one.

This will allow removing a number of overrides of entries for
normalization.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agotheme: Regain focus ring in %bubble_button
nana-4 [Fri, 17 Jan 2020 10:57:42 +0000 (19:57 +0900)]
theme: Regain focus ring in %bubble_button

Instead of removing all button shadows forcibly with
`box-shadow: none !important`, remove only the drop shadows selectively
with button(). This allows %bubble_button to preserve the focus ring
while eliminating the drop shadows.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Improve button styling
nana-4 [Tue, 14 Jan 2020 18:09:03 +0000 (03:09 +0900)]
theme: Improve button styling

- Move the more generic %button style before %bubble_button to reduce
  ugly overrides.
- Remove sizing factors from _drawing.scss to reduce ugly !importants.
- Make the %bubble_button style more consistent.
- Add missing focus styling to %notification_bubble.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agotheme/hotplug: Remove some dead code
nana-4 [Tue, 14 Jan 2020 16:13:38 +0000 (01:13 +0900)]
theme/hotplug: Remove some dead code

Those style classes were removed about 5 years ago and no longer exist.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agotheme: Fix off-centered clickable area of dash items
nana-4 [Mon, 13 Jan 2020 04:58:20 +0000 (13:58 +0900)]
theme: Fix off-centered clickable area of dash items

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Don't apply inconsistent hover style to menu items in submenus
nana-4 [Sun, 12 Jan 2020 15:06:18 +0000 (00:06 +0900)]
theme: Don't apply inconsistent hover style to menu items in submenus

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Add missing border-radius to the active workspace in the switcher
nana-4 [Sun, 12 Jan 2020 14:54:22 +0000 (23:54 +0900)]
theme: Add missing border-radius to the active workspace in the switcher

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Don't jump the today button on hover/focus
nana-4 [Sun, 12 Jan 2020 14:31:36 +0000 (23:31 +0900)]
theme: Don't jump the today button on hover/focus

This seemed quite buggy as no other button jumps on hover/focus in the
theme.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Separate run dialog specific style from generic dialog style
nana-4 [Sun, 12 Jan 2020 08:21:22 +0000 (17:21 +0900)]
theme: Separate run dialog specific style from generic dialog style

Like other specific dialog styles already do.

Also move .modal-dialog-linked-button into .modal-dialog as well as
.modal-dialog-content-box.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agotheme: Remove unnecessary %bubble_panel extensions
nana-4 [Sun, 12 Jan 2020 07:36:30 +0000 (16:36 +0900)]
theme: Remove unnecessary %bubble_panel extensions

Since these dialogs have .modal-dialog class, there is no need to extend
%bubble_panel.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agotheme: Remove invalid button styling
nana-4 [Sun, 12 Jan 2020 07:22:59 +0000 (16:22 +0900)]
theme: Remove invalid button styling

There is no ".message-list-clear-button .button" selector, but
".message-list-clear-button.button". To make it clear, this commit adds
.button to .message-list-clear-button.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

6 years agoshellEntry: Show popup menu at cursor position when pressing menu key
Jonas Dreßler [Sun, 8 Dec 2019 20:56:46 +0000 (21:56 +0100)]
shellEntry: Show popup menu at cursor position when pressing menu key

When pressing the menu key to show the popupMenu inside a ShellEntry,
the menu is currently aligned with the end of the entered text, this
causes a bug in case the text is overflowing the width of the entry: The
menu will be shown outside of the entry field, because it's aligned with
the (invisible) end of the text.

Fix that by simply aligning the popup menu with the cursor of the entry,
which is a behavior that makes sense when pressing the menu-key anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/934

6 years agodialog: Update the layout of dialogs according to the new design
Jonas Dreßler [Mon, 13 Jan 2020 14:13:53 +0000 (15:13 +0100)]
dialog: Update the layout of dialogs according to the new design

According to the new dialog mockups, update the dialogs paddings and
spacings. Also change the font-weigth of the title to 800 and the
font-size to 18pt, this will make the headings of some dialogs ellipsize
because they contain too much text, we'll have to fix this in subsequent
commits.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Remove MessageDialogContent.body property
Jonas Dreßler [Mon, 13 Jan 2020 13:04:40 +0000 (14:04 +0100)]
dialog: Remove MessageDialogContent.body property

According to the new dialog design, dialogs generally only have a title
and a description, so the `body` property is no longer needed.

At the places where it's still used, we replace it with the description
property or a plain label we add to MessageDialogContent ourselves.

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Rename subtitle property to description
Jonas Dreßler [Mon, 13 Jan 2020 13:07:28 +0000 (14:07 +0100)]
dialog: Rename subtitle property to description

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Remove messageBox container from MessageDialogContent
Jonas Dreßler [Thu, 5 Dec 2019 09:55:00 +0000 (10:55 +0100)]
dialog: Remove messageBox container from MessageDialogContent

`MessageDialogContent.messageBox` is not really needed and was only
needed to show icons, which is now no longer supported. The styling can
also be done using other CSS classes and this makes it a bit more
straightforward to add actors to the MessageDialogContent.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Remove icons from dialogs
Jonas Dreßler [Mon, 13 Jan 2020 12:39:41 +0000 (13:39 +0100)]
dialog: Remove icons from dialogs

According to the new mockups, remove the icon from MessageDialogContent

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agojs: Move dialog parts out of messageBox
Jonas Dreßler [Mon, 13 Jan 2020 12:44:17 +0000 (13:44 +0100)]
js: Move dialog parts out of messageBox

Since MessageDialogContent.messageBox is going to be removed in a
subsequent commit, move the parts where it's used out of messageBox and
into the contentLayout instead. This will introduce wrong spacings in
some dialogs, which we're going to fix when implementing the redesigned
individual dialogs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Remove addContent function
Jonas Dreßler [Thu, 5 Dec 2019 07:55:16 +0000 (08:55 +0100)]
dialog: Remove addContent function

Now that child metas are removed, there's no need for a custom
`addContent` function anymore. It was only used in one place anyway...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agodialog: Switch to new indentation style
Jonas Dreßler [Thu, 5 Dec 2019 08:54:38 +0000 (09:54 +0100)]
dialog: Switch to new indentation style

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agocss: Remove unused class run-dialog-button-box
Jonas Dreßler [Sat, 19 Oct 2019 09:19:57 +0000 (11:19 +0200)]
css: Remove unused class run-dialog-button-box

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886

6 years agoUpdate Indonesian translation
Sucipto [Tue, 14 Jan 2020 06:28:04 +0000 (06:28 +0000)]
Update Indonesian translation

6 years agostatus/network: Compare icon name to NULL instead of empty string
Jonas Dreßler [Thu, 21 Nov 2019 09:04:12 +0000 (16:04 +0700)]
status/network: Compare icon name to NULL instead of empty string

Since the last commit we set the gicon property of StIcon to NULL if an
empty string was given when setting the icon name, this means
`st_icon_get_icon_name()` will return NULL instead of an empty string.

When `getIndicatorIcon()` returns an empty string, the icon_name
property will now be set to NULL, so compare it to NULL here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Check icon name for empty string in setter function
Jonas Dreßler [Thu, 21 Nov 2019 12:05:11 +0000 (19:05 +0700)]
st/icon: Check icon name for empty string in setter function

Don't try to create a GIcon if the given icon name is empty, it will
lead to failure when loading the icon anyway, instead set the gicon to
NULL just as we do in the `set_gicon()` API when unsetting an icon.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Use own methods for updating GIcon when setting icon names
Jonas Dreßler [Thu, 21 Nov 2019 12:05:04 +0000 (19:05 +0700)]
st/icon: Use own methods for updating GIcon when setting icon names

Instead of reimplementing the functions to set the GIcon inside the
`set_*_icon_name` functions, just use the already defined methods for
that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Add API to set the fallback GIcon
Jonas Dreßler [Thu, 21 Nov 2019 10:03:22 +0000 (17:03 +0700)]
st/icon: Add API to set the fallback GIcon

Let's support the fallback icon a bit better and allow setting its GIcon
just as we do for the normal icon.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Update GtkDoc and annotations
Jonas Dreßler [Thu, 21 Nov 2019 10:09:16 +0000 (17:09 +0700)]
st/icon: Update GtkDoc and annotations

Add missing documentation for some functions and make existing
documentation a bit more precise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Use existing method for getting gicon property
Jonas Dreßler [Thu, 21 Nov 2019 10:19:27 +0000 (17:19 +0700)]
st/icon: Use existing method for getting gicon property

We have an existing method for this, let's use it instead of accessing
the private property here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Simplify property setting in set_gicon()
Jonas Dreßler [Thu, 21 Nov 2019 10:17:44 +0000 (17:17 +0700)]
st/icon: Simplify property setting in set_gicon()

We can easily use `g_set_object()` to set the gicon property here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agost/icon: Reorder header file
Jonas Dreßler [Thu, 21 Nov 2019 09:56:13 +0000 (16:56 +0700)]
st/icon: Reorder header file

The order of the functions is currently quite messy, change the order of
the headers so it makes more sense and correct a wrong argument name
while at it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

6 years agoiconGrid.js: Animate icon spring using translation
Daniel van Vugt [Fri, 10 Jan 2020 09:37:26 +0000 (17:37 +0800)]
iconGrid.js: Animate icon spring using translation

Animating the icon spring using the `translation-x/y` properties instead
of the `x/y` properties avoids relayouts. There are still other non-icon
actors moving, but it's a big improvement.

Before: 595 relayouts per spring
After: 94 relayouts per spring

Reducing relayouts reduces reallocation, which reduces CPU-intensive
JavaScript execution.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/926

6 years agoUpdate Esperanto translation
Carmen Bianca BAKKER [Sat, 11 Jan 2020 10:30:04 +0000 (10:30 +0000)]
Update Esperanto translation

6 years agoworkspacesView: Round workspace position
Alexander Mikhaylenko [Fri, 10 Jan 2020 20:58:24 +0000 (01:58 +0500)]
workspacesView: Round workspace position

Prevent blurring when scrolling workspaces by aligning it to pixel grid,
and be consistent with app grid.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/930

6 years agoscreenshot: Fix stripping suffix from relative filename
Florian Müllner [Fri, 10 Jan 2020 18:26:05 +0000 (19:26 +0100)]
screenshot: Fix stripping suffix from relative filename

String.prototype.substr() doesn't support a negative length value
(to subtract from the full length), so we end up with a filename
of '' when hitting that code paths (a relative filename with '.png'
suffix).

Fix this by switching to String.prototype.replace() instead.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2091

6 years agowindowManager: Use SwipeTracker
Alexander Mikhaylenko [Sun, 30 Jun 2019 12:15:44 +0000 (17:15 +0500)]
windowManager: Use SwipeTracker

Replace existing four-finger gestures with SwipeTracker.

Since TouchpadWorkspaceSwitchAction and WorkspaceSwitchAction are now
unused, remove them.

Change programmatic workspace transition to use easeOutCubic interpolator
to match the gesture.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/756

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoappDisplay: Use SwipeTracker
Alexander Mikhaylenko [Sun, 30 Jun 2019 12:15:37 +0000 (17:15 +0500)]
appDisplay: Use SwipeTracker

Replace existing panning and touchpad scrolling by SwipeTracker.

Since SwipeTracker only references one actor, redirect scroll events
from page indicators to the main scroll view.

Change programmatic scroll animation to use easeOutCubic interpolator
to match the gesture.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoworkspacesView: Use SwipeTracker
Alexander Mikhaylenko [Mon, 8 Jul 2019 08:47:04 +0000 (13:47 +0500)]
workspacesView: Use SwipeTracker

Replace existing panning, touchpad scrolling and four-finger gesture by
SwipeTracker.

Change programmatic workspace animation to use easeOutCubic interpolator
to match the gesture.

Also change the dragging distance to always match the current monitor.

Fixes touchpad parts of https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoswipeTracker: Introduce swipe tracker
Alexander Mikhaylenko [Sun, 30 Jun 2019 12:11:27 +0000 (17:11 +0500)]
swipeTracker: Introduce swipe tracker

Add a unified swipe tracker supporting dragging, four-finger swipe on both
touchscreen and touchpad, and touchpad scrolling.

The shared logic is largely same as the one in WebKit and libhandy.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoscreenShield: Stop messing with fixed-position-set
Florian Müllner [Fri, 10 Jan 2020 15:14:47 +0000 (16:14 +0100)]
screenShield: Stop messing with fixed-position-set

We no longer change the position at all, so this property doesn't
change and doesn't matter (anymore).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927

6 years agoscreenShield: Fix showing shield without animation
Florian Müllner [Fri, 10 Jan 2020 15:09:48 +0000 (16:09 +0100)]
screenShield: Fix showing shield without animation

Commit 24e631ffe2 changed the shield animation to use translation
instead of position.

However once the shield is raised, only an animation will lower it
again, which means the shield is missing when it's supposed to be
shown without animation (for example after an idle blank).

Fix this by resetting the translation-y property in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927

6 years agoUpdate Slovak translation
Andrej Shadura [Fri, 10 Jan 2020 06:41:21 +0000 (06:41 +0000)]
Update Slovak translation

6 years agoshell/blur-effect: Set float brightness property
Georges Basile Stavracas Neto [Thu, 9 Jan 2020 20:50:11 +0000 (17:50 -0300)]
shell/blur-effect: Set float brightness property

The brightness property of ShellBlurEffect is of float type, but
we are calling g_value_set_int() in the GObject::get_property()
handler, which throws warnings when trying to set the property
via g_object_set() and family.

Use g_value_set_float() instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/924

6 years agodateMenu: Adjust weather section spacing
Florian Müllner [Thu, 19 Dec 2019 00:03:24 +0000 (01:03 +0100)]
dateMenu: Adjust weather section spacing

Add some vertical spacing above and below the time labels to make
the section less crammed and let forecast icon and temperature
appear as a unit.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agodateMenu: Move weather forecast time above icon
Florian Müllner [Wed, 18 Dec 2019 23:43:12 +0000 (00:43 +0100)]
dateMenu: Move weather forecast time above icon

The time is de-emphasized like the header, grouping them together
helps to further accentuate the more important information.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agodateMenu: Tweak temperature labels
Florian Müllner [Wed, 18 Dec 2019 23:45:17 +0000 (00:45 +0100)]
dateMenu: Tweak temperature labels

Together with the forecast icon, the temperature label is the most
important information in the weather section. To emphasize it more,
reduce its space requirement by removing the temperature unit, then
make the text bold.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agotheme: fix HC after refactoring
Jakub Steiner [Wed, 8 Jan 2020 10:08:14 +0000 (11:08 +0100)]
theme: fix HC after refactoring

- panel fg color was derived from bg color. Not a good idea as it's not
  just light/drk, but HC as well.
- deriving from dark theme means contrast for things like popover items
  is better.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > message-list: pad to account for scrollbar
Sam Hewitt [Fri, 20 Dec 2019 21:39:21 +0000 (16:39 -0500)]
theme > message-list: pad to account for scrollbar

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use 99px radius
Sam Hewitt [Fri, 20 Dec 2019 21:33:13 +0000 (16:33 -0500)]
theme: use 99px radius

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: add space between & and .
Sam Hewitt [Fri, 20 Dec 2019 21:19:39 +0000 (16:19 -0500)]
theme: add space between & and .

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: update meson.build with new files
Sam Hewitt [Fri, 20 Dec 2019 21:11:51 +0000 (16:11 -0500)]
theme: update meson.build with new files

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > search results: revisions to padding, drop bg from app results
Sam Hewitt [Fri, 20 Dec 2019 17:20:52 +0000 (12:20 -0500)]
theme > search results: revisions to padding, drop bg from app results

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use a widgets.scss file for widget import
Sam Hewitt [Fri, 20 Dec 2019 15:45:58 +0000 (10:45 -0500)]
theme: use a widgets.scss file for widget import

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > osd: light variant fixes; variables
Sam Hewitt [Fri, 20 Dec 2019 00:24:30 +0000 (19:24 -0500)]
theme > osd: light variant fixes; variables

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: search-entry, use more variables
Sam Hewitt [Fri, 20 Dec 2019 00:05:46 +0000 (19:05 -0500)]
theme: search-entry, use more variables

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: window-picker, use osd styling for title tooltips; tidy sass
Sam Hewitt [Fri, 20 Dec 2019 00:01:37 +0000 (19:01 -0500)]
theme: window-picker, use osd styling for title tooltips; tidy sass

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: tidy the syntax for app-grid; fix border radii
Sam Hewitt [Thu, 19 Dec 2019 20:56:45 +0000 (15:56 -0500)]
theme: tidy the syntax for app-grid; fix border radii

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: dash, tidy the sass
Sam Hewitt [Thu, 19 Dec 2019 19:11:59 +0000 (14:11 -0500)]
theme: dash, tidy the sass

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: app-grid, refine the padding, fix the tabs
Sam Hewitt [Thu, 19 Dec 2019 18:05:28 +0000 (13:05 -0500)]
theme: app-grid, refine the padding, fix the tabs

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use the fontsize function consistently
Sam Hewitt [Thu, 19 Dec 2019 16:09:33 +0000 (11:09 -0500)]
theme: use the fontsize function consistently

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: adjust padding in calendar popover
Sam Hewitt [Thu, 19 Dec 2019 15:48:32 +0000 (10:48 -0500)]
theme: adjust padding in calendar popover

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use spaces instead of tabs
Sam Hewitt [Thu, 19 Dec 2019 15:38:27 +0000 (10:38 -0500)]
theme: use spaces instead of tabs

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: base of the refactor
Sam Hewitt [Wed, 18 Dec 2019 21:25:03 +0000 (16:25 -0500)]
theme: base of the refactor
- split _common.scss into widgets
- improve _drawing functions
- minify SVG assets

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 9 Jan 2020 13:59:44 +0000 (14:59 +0100)]
Updated Spanish translation

6 years agonetworkAgent: Handle 'vpn' connections when delaying request
Florian Müllner [Mon, 16 Dec 2019 23:21:46 +0000 (00:21 +0100)]
networkAgent: Handle 'vpn' connections when delaying request

Since commit 90a08ba0b6a, we only open a network secret dialog immediately
in response to user action, and show a notification otherwise.

While for the actual request VPNs are handled separately from other connections,
this isn't true when we show the notification - we need to handle 'vpn' together
with the other types there, or we fall through to the default 'invalid type'
exception.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2008

6 years agoworkspacesView: Add timeout for mouse scrolling
Alexander Mikhaylenko [Wed, 16 Oct 2019 05:39:48 +0000 (10:39 +0500)]
workspacesView: Add timeout for mouse scrolling

Prevent uncontrollably fast scrolling. Use the same duration as switching
animation, but add a separate timeout to account for disabled animations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoappDisplay: Add timeout for mouse scrolling
Alexander Mikhaylenko [Wed, 16 Oct 2019 07:30:14 +0000 (12:30 +0500)]
appDisplay: Add timeout for mouse scrolling

Prevent uncontrollably fast scrolling. Use the same duration as switching
animation, but add a separate timeout to account for disabled animations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoappDisplay: Reduce page switch time to 250ms
Alexander Mikhaylenko [Sat, 2 Nov 2019 11:37:06 +0000 (16:37 +0500)]
appDisplay: Reduce page switch time to 250ms

Be consistent with workspace switching.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoworkspaceThumbnail: Sync indicator with WorkspacesDisplay
Alexander Mikhaylenko [Mon, 8 Jul 2019 08:03:20 +0000 (13:03 +0500)]
workspaceThumbnail: Sync indicator with WorkspacesDisplay

Now that both ThumbnailsBox and WorkspacesDisplay use single adjustments for
controlling indicator and scrolling, create the adjustment in OverviewControls
and pass it to both objects, effectively syncing indicator to scrolling.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoworkspaceThumbnail: Use scroll adjustment
Alexander Mikhaylenko [Thu, 27 Jun 2019 20:51:10 +0000 (01:51 +0500)]
workspaceThumbnail: Use scroll adjustment

This will allow it to share adjustment with WorkspacesDisplay in the next
commit.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoworkspacesView: Use shared adjustment
Alexander Mikhaylenko [Sun, 7 Jul 2019 17:51:55 +0000 (22:51 +0500)]
workspacesView: Use shared adjustment

Instead of having a scroll adjustment in each WorkspacesView, and using the
one from primary screen in WorkspacesDisplay, have just one adjustment in
WorkspacesDisplay, and sync the changes between WorkspacesView.

This will allow to share the adjustment between WorkspacesDisplay and
ThumbnailsBox in the next commits.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoscreenShield: Animate shield using translation_y
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 15:29:12 +0000 (12:29 -0300)]
screenShield: Animate shield using translation_y

Instead of using the 'y', which queues a full relayout and
thus forces effects to be reapplied, use the 'translation_y'
property, that doesn't force relayouts and allows a future
blur effect to actually use the cached framebuffers a lot more.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/864

6 years agoIntroduce ShellBlurEffect
Georges Basile Stavracas Neto [Tue, 7 Jan 2020 19:34:03 +0000 (16:34 -0300)]
Introduce ShellBlurEffect

This is a moderately fast two-pass gaussian blur implementation.
It downscales the framebuffer dynamically before applying the
gaussian shader, which cuts down rendering time quite considerably.

The blur shader takes 2 uniforms as input: the blur radius; and
whether to blur vertically or horizontally.

The blur radius is treated as an integer in C land to simplify
calculations. The vertical parameter is treated as an integer by
the shader simply due to Cogl not having proper boolean support
in snippets.

At last, brightness is also added to avoid needing to use an extra
effect to achieve that. Brightness is applied in a different pipeline
than blur, so we can control it more tightly.

ShellBlurEffect also implements a "background" mode, where the contents
beneath the actor are blurred, but not the actor itself. This mode is
performance-heavy.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1848

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/864

6 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 8 Jan 2020 15:47:48 +0000 (16:47 +0100)]
Updated Spanish translation

6 years agosystemActions: Alias power-off to halt and stop
Florian Müllner [Sat, 21 Dec 2019 02:31:14 +0000 (03:31 +0100)]
systemActions: Alias power-off to halt and stop

Those are words users may reasonably use when trying to shut down their
computer, so add them to the list of keywords.

https://bugzilla.gnome.org/show_bug.cgi?id=791659

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Wed, 8 Jan 2020 10:39:23 +0000 (10:39 +0000)]
Update Basque translation

6 years agogitlab: Add issue templates
Björn Daase [Sun, 8 Dec 2019 15:56:14 +0000 (15:56 +0000)]
gitlab: Add issue templates

This adds two GitLab issue templates for:
* Epics
* Features

The actual templates are inspired by the ones Geary provides.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/763

6 years agoUpdate default favorite apps list
Michael Catanzaro [Fri, 20 Dec 2019 13:57:49 +0000 (13:57 +0000)]
Update default favorite apps list

Many of the apps in the favorite apps list have fallen out of favor.

Replacing Rhythmbox with Music and Shotwell with Photos are obvious
moves. Rhythmbox and Shotwell are not core apps, and that means we
assume they are not installed by default. It doesn't really make sense
to have non-default apps in the apps list.

Evolution is also not a core app, and that is not likely to change, so
it should also be removed. Adding Geary might be more controversial. It
is a strong candidate to become a core app, GNOME Mail, in the near
future, but it is not there yet. So this could arguably be considered
premature. But I figure a GSettings
default is a cheap thing; we can always change it later if desired.

Calendar is added at the request of GNOME design team ("replacing" the
calendar functionality of Evolution).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/907

6 years agodata: Drop old bugzilla references in .desktop files
Florian Müllner [Wed, 4 Dec 2019 15:23:08 +0000 (16:23 +0100)]
data: Drop old bugzilla references in .desktop files

They are obsolete, and I don't think we have a gitlab replacement
(plus the fields probably stopped being relevant when bug-buddy
went out of fashion ages ago).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/920

6 years agobuild: Use python postinstall script
Florian Müllner [Tue, 3 Dec 2019 22:45:41 +0000 (23:45 +0100)]
build: Use python postinstall script

This is what most GNOME modules now use instead of a shell script,
which makes sense given that the build system itself is written
in python.

This particular copy comes from nautilus ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/920

6 years agodocs: Conform to coding style in HACKING guide
Florian Müllner [Mon, 25 Nov 2019 19:17:38 +0000 (20:17 +0100)]
docs: Conform to coding style in HACKING guide

The document is supposed to outline our best practices on the
javascript side, so make sure the code snippets actually conform
to the enforced style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/919

6 years agoenvironment: Remove unused ease parameter
Florian Müllner [Thu, 19 Dec 2019 22:08:44 +0000 (23:08 +0100)]
environment: Remove unused ease parameter

In an earlier iteration of the ease patch set, animatable properties
and easing parameters were different arguments.

This wasn't the case in the final version, so remove the left-overs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/917

6 years agoextensionPrefs: Don't (re-)bind text domain
Florian Müllner [Tue, 3 Dec 2019 19:50:14 +0000 (20:50 +0100)]
extensionPrefs: Don't (re-)bind text domain

Gettext is already set up from the binary, no need to do it again
in JS.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/918

6 years agoBump version to 3.35.3
Florian Müllner [Sun, 5 Jan 2020 10:28:17 +0000 (11:28 +0100)]
Bump version to 3.35.3

Update NEWS.

6 years agokeyboard: Fix input-source switcher alignment
Florian Müllner [Fri, 3 Jan 2020 12:06:08 +0000 (13:06 +0100)]
keyboard: Fix input-source switcher alignment

More fallout from commit 104071acbd.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/916

6 years agoUpdate Catalan translation
Jordi Mas [Fri, 3 Jan 2020 22:07:19 +0000 (23:07 +0100)]
Update Catalan translation